<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="bw1">
        <div>
            <div>
                333
            </div>
        </div>
    </div>

    <script>
        const div1Obj = document.querySelector("#bw1")
        console.log(div1Obj.childNodes) //NodeList(3) [text, div, text]
        console.log(div1Obj.children)   //HTMLCollection [div]
    </script>
</body>
</html>